Skip to content

Commit 410b523

Browse files
authored
Move CI to Azure (#438)
* Run github actions on mdolab docker images * Trying to fix permission error * Try sourcing mdolabuser's bashrc * Need to go back to being root * Use old checkout action * Even older checkout action? * Try giving user permission to folder that checkout wants to use * Run umask not as sudo? * I give up * Switch to azure * Do pyPI releases through Azure too * Move tests outside of installed package * Update test_real.sh so that it actually runs tests * Bump minor version
1 parent 9c123a3 commit 410b523

135 files changed

Lines changed: 40 additions & 187 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/azure-pipelines.yaml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
trigger:
2+
branches:
3+
include:
4+
- main
5+
tags:
6+
include:
7+
- v*.*.*
8+
9+
pr:
10+
- main
11+
12+
resources:
13+
repositories:
14+
- repository: azure_template
15+
type: github
16+
name: mdolab/.github
17+
endpoint: mdolab
18+
19+
stages:
20+
- template: azure/azure_template.yaml@azure_template
21+
parameters:
22+
REPO_NAME: OpenAeroStruct
23+
COVERAGE: true
24+
25+
- stage:
26+
dependsOn:
27+
- Test_Real
28+
- Style
29+
displayName: PyPI
30+
condition: and(succeeded(), contains(variables['build.sourceBranch'], 'tags'))
31+
jobs:
32+
- template: azure/azure_pypi.yaml@azure_template

.github/build_real.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/bash
2+
set -e
3+
pip install .[testing,mphys]

.github/test_real.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/bash
2+
set -e
3+
4+
testflo -n 2 -v . --coverage --coverpkg openaerostruct

.github/workflows/oas.yml

Lines changed: 0 additions & 186 deletions
This file was deleted.

openaerostruct/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "2.7.3"
1+
__version__ = "2.8.0"

openaerostruct/structures/tests/__init__.py

Whitespace-only changes.

openaerostruct/tests/__init__.py

Whitespace-only changes.
File renamed without changes.
File renamed without changes.

openaerostruct/aerodynamics/tests/test_collocation_points.py renamed to tests/aerodynamics_tests/test_collocation_points.py

File renamed without changes.

0 commit comments

Comments
 (0)