Bump body-parser and express in /highlight/hljs #22
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
env: | |
CARGO_TERM_COLOR: always | |
PYTHONIOENCODING: utf-8 | |
jobs: | |
build_and_test: | |
name: > | |
Build and test tr-lang on ${{ matrix.os }} using Python ${{ matrix.python-version }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
python-version: [ '3.8', '3.9' ] | |
os: [windows-latest, ubuntu-latest, macos-latest] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v3 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Build | |
run: cargo build --verbose | |
- name: Run cargo tests | |
run: cargo test --verbose | |
- name: Python Version | |
run: python --version | |
- name: Install Python Dependencies | |
run: python -m pip install colorama typing | |
- name: Run test.py Tests | |
run: python test.py |