Skip to content

Merge pull request #94 from atsign-foundation/dependabot/github_actio… #126

Merge pull request #94 from atsign-foundation/dependabot/github_actio…

Merge pull request #94 from atsign-foundation/dependabot/github_actio… #126

Workflow file for this run

name: RunTests
# Runs the workflow on the below events:
# 1. on pull request raised to trunk branch.
# 2. on push event to trunk branch.
on:
push:
branches:
- trunk
pull_request:
branches:
- trunk
permissions: # added using https://github.com/step-security/secure-workflows
contents: read
jobs:
lint-markdown:
runs-on: ubuntu-20.04
name: Run Tests
steps:
- name: checkout repo content
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- name: Install MicroPython and run tests
run: |
DLURL="https://github.com/atsign-foundation/micropython/releases/download/"
ATMPRELDIR="1.22.0_g099e9a1a0_AES_CTR/"
ATMPRELBIN="micropython_1.22.0_g099e9a1a0_linux_x64.tgz"
wget ${DLURL}${ATMPRELDIR}${ATMPRELBIN}
tar -xvf ${ATMPRELBIN}
export MICROPY_MICROPYTHON="$(pwd)/micropython"
cd tests
./run-tests.py -d atsign
tar -cvzf results.tgz results
- name: Upload results
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0
with:
name: atsign tests
path: tests/results.tgz
retention-days: 7